package com.itcms.core.domain;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * UserTodoTotal entity.
 */
@Entity
@Table(name = "V_USER_TODO_TOTAL")
public class UserTodoTotal implements java.io.Serializable {

	private static final long serialVersionUID = -7748580297139813518L;
	
	// Fields
	private Integer userId;
	private String userCode;
	private String username;
	private Integer total;
	
	// Constructors
	/** default constructor */
	public UserTodoTotal() {
	}

	/** full constructor */

	public UserTodoTotal(Integer userId, String userCode, String username,
			Integer total) {
		this.userId = userId;
		this.userCode = userCode;
		this.username = username;
		this.total = total;
	}
	
	@Id
	@Column(name = "F_USER_ID")
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "F_USERCODE")
	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	
	@Column(name = "F_USERNAME")
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Column(name = "F_TOTAL")
	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}
}